package com.hkt.springboot.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "eureka-client-provider",fallback = HelloFeignHystrix.class)
public interface HelloFeign {

    @GetMapping("/hello")
    public String hello(@RequestParam(name = "name") String name);
}
